package com.blog.user.mapper;

import com.blog.user.entity.Article;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zw
 * @since 2022-02-21
 */
public interface ArticleMapper extends BaseMapper<Article> {
    boolean deleteByAttach( @Param("articleId") Integer articleId);
    boolean deleteComment(@Param("articleId") Integer articleId);
}
